using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class Bill {

		[JsonProperty, Column(StringLength = 50)]
		public string BillNum { get; set; }

		/// <summary>
		/// 订单类型 1 是报名订单，2培训预约订单
		/// </summary>
		[JsonProperty]
		public int? ddlx { get; set; }

		[JsonProperty, Column(StringLength = 500)]
		public string Detail { get; set; }

		[JsonProperty]
		public Guid id { get; set; }

		[JsonProperty]
		public Guid? jlid { get; set; }

		[JsonProperty]
		public Guid? JxCode { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string Money { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string Note { get; set; }

		/// <summary>
		/// 订单生成日期
		/// </summary>
		[JsonProperty]
		public DateTime? scrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string sfzh { get; set; }

		[JsonProperty]
		public int? State { get; set; }

		[JsonProperty]
		public Guid? stuid { get; set; }

	}

}
